package com.jhj.service.user.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.jhj.po.user.mapper.UserSmsTokenMapper;
import com.jhj.po.user.model.UserSmsToken;
import com.jhj.service.impl.BaseServiceImpl;
import com.jhj.service.user.UserSmsTokenService;

@Service
public class UserSmsTokenServiceImpl extends BaseServiceImpl<UserSmsToken> implements UserSmsTokenService{

	@Autowired
	private UserSmsTokenMapper userSmsTokenMapper;
	
	@Override
	public UserSmsToken selectByMobileAndType(String mobile, int userType) {
		return userSmsTokenMapper.selectByMobileAndType(mobile, userType);
	}

}
